package cn.lanca.gof0_5._03factory_method.simple_factory;

/**
 * @author meihongliang
 * @since 2020/7/13 16:33
 */
public class SimpleFactoryPattern {

    public static void main(String[] args) {
        Product a = Factory.manufacture("A");
        a.show();

        Product b = Factory.manufacture("B");
        b.show();

        Product c = Factory.manufacture("C");
        c.show();
    }
}
